package aaron.pattern.commonstate;

/**
 * Created by aaron on 17-6-14.
 */
public class ConcreteState1 extends State {
    @Override
    public void handle1() {
        System.out.println("This is handle1");
    }

    @Override
    public void handle2() {
        super.context.setCurrentState(Context.STATE_2);
        super.context.handle2();
    }
}
